<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[.$opcms.title.] - 企业商城 - [.$emmm_web.website.]</title>
<meta name="keywords" content="[.$emmm_web.webkeywords.]" />
<meta name="description" content="[.$emmm_web.webdescriptions.]"/>
<meta name="Author" content="vidar.club" />
<LINK href="[.$webpath.]function/plugs/YIQI-UI/YIQI-UI.min.css" rel=stylesheet>
<link href="[.$webpath.]function/plugs/YIQI-UI/font/YIQI-UI-iconfont.min.css" rel="stylesheet">
<LINK href="[.$templatepath.]shop/css/emmm.css?2" rel=stylesheet>
<script type="text/javascript" src="[.$webpath.]function/plugs/jquery/1.7.2/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="[.$templatepath.]shop/js/emmm.js"></script>
<script type="text/javascript" src="[.$webpath.]function/plugs/lazyload/jquery.lazyload.js"></script>
<script type="text/javascript" src="[.$templatepath.]shop/js/banner1.js"></script>
<script type="text/javascript" src="[.$templatepath.]shop/js/rightnav.js"></script>
<script type="text/javascript" src="[.$templatepath.]shop/js/lefttree.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("img").lazyload({ 
		 effect: "fadeIn"
	});    
	tcjs('wx');
	tcjs('sj');
	tcjs('wxkf');
	navjs('navleft');
});
</script>
</head>
<body>
[.include file="cn/cn_shoptop.html".]
<div class="clear"></div>
	<div class="center">
    	<div class="topnavlist">
       		<a href="/?cn-shop.html" title="商城首页">商城首页</a> 
            [.foreach $crumbs as $op.]
            >> <a href="[.$op.url.]" title="[.$op.title.]">[.$op.title.]</a>
            [./foreach.]
        </div>
        <div class="clear"></div>
          <div class="shopleft">
            <div class="shoplistleft">
                <h1>客服中心</h1>
                <ul>
                    [.service type="0" temp="index".]
                    [.foreach $service as $op.]
                    [.if $op.class == 'qq'.]
                    <p><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=[.$op.number.]&amp;site=qq&amp;menu=yes"><img src="[.$plugsurl.]css/button_121.gif" />[.$op.name.]</a></p>
                    [.elseif $op.class == 'aliww'.]
                    <li><a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&touid=[.$op.number.]&siteid=cntaobao&status=1&charset=utf-8"><img src="[.$plugsurl.]css/button_122.gif" />[.$op.name.]</a></li>
                    [.elseif $op.class == 'skype'.]
                    <li><a target="_blank" href="skype:[.$op.number.]?add"><img src="[.$plugsurl.]css/button_123.gif)" />[.$op.name.]</a></li>
                    [./if.]
                    [./foreach.]
                </ul>
            </div>
            <div class="shoplistleft">
                <h1>商品快捷分类</h1>
                <ul>
                [.foreach from=$column item=op.]
                [.if $op.id == 2.]
                      [.if isset($op.child).]
                      [.foreach from=$op.child item=opop.]
                      <li class="aaa"><img src="[.$templatepath.]shop/images/btn_fold.gif" /><a href="[.$opop.url.]">[.$opop.title.]</a>
                
                            [.if isset($opop.child).]
                            <ul class="d">
                            [.foreach from=$opop.child item=opopop.]
                            <li><a href="[.$opopop.url.]">[.$opopop.title.]</a></li>
                            [./foreach.]
                            </ul>
                            [./if.]
                      </li>
                      [./foreach.]
                      [./if.]
                [./if.]
                [./foreach.]
                </ul>
            </div>
        </div>
        <div class="shopviewright">
            <ul>
              <h1>[.$opcms.title.]</h1>
                [.*以下代码是我们Emmm官方默认代码，主要用于判断是否启动了商城模式。如果你要修改模板，可以把以下代码全部复制走。*.]
                <form id="form1" name="form1" method="post" action="[.$webpath.]?cn-shoppingcart.html-&emmm_cms=shopping">
                <div class="prleft">
                <!--preview-->
                <LINK href="[.$webpath.]function/plugs/product/style.css" rel=stylesheet>
                <script language="JavaScript" type="text/javascript" src="[.$webpath.]function/plugs/product/photo.js"></script>
                <div class="preview">
                    <div id="vertical" class="bigImg">
                    [.if !empty($opcms.img[0]).]
                        <img src="[.$webpath.][.$opcms.img[0].img.]" width="400" height="400" alt="[.$opcms.title.]" id="midimg" />
                        [.else.]
                        <img src="[.$webpath.]skin/noimage.png" width="400" height="400" alt="[.$opcms.title.]" id="midimg" />
                    [./if.]
                        <div style="display:none;" id="winSelector"></div>
                    </div><!--bigImg end-->
                    <div class="smallImg">
                        <div class="scrollbutton smallImgUp disabled"></div>
                        <div id="imageMenu">
                            <ul>
                            [.foreach $opcms.img as $key => $op.]
                                <li [.if $key == 0.]id="onlickImg"[./if.]><img src="[.$webpath.][.$op.img.]" width="50" height="50" alt="[.$opcms.title.]"/></li>
                            [./foreach.]
                            </ul>
                        </div>
                        <div class="scrollbutton smallImgDown"></div>
                    </div><!--smallImg end-->
                    <div id="bigView"><img src="" /></div>
                </div>
                <!--preview end-->
                </div>
                <style>
                    .zfan {width:230px; height:45px; border:0px; color:#FFF; font-size:20px; background:#de2a2a; border-radius:5px; margin-top:20px;}.zfan:hover {background:#ba0c0c;}
                </style>
                <div class="prright">
                    <ul>
                    	<li>[.$opcms.suggest.]</li>
                        <li>
                        [.emmm_gg id=$opcms.specificationsid arr=$opcms.specifications mktprice=$opcms.market price=$opcms.webmarket mktpricefont="价格" pricefont="优惠价" stock="库存" stocks=$opcms.stock numberfont="货号" number=$opcms.goodsno amount="购买数量" freightfont="快递至" symbol="：" moneytype="￥" usermoney=$opcms.usermoney freight=$opcms.freight.]
                        </li>
                        <li>
                          <input type="hidden" name="pid" value="[.$opcms.id.]" />
                          <input type="submit" name="Submit" value="加入购物车" class="zfan" />
                        </li>
                    </ul>
                </div>
                </form>
                <div class="clear"></div>
                <script> 
                function setTab(m,n){
                 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
                 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
                 for(i=0;i<tli.length;i++){
                  tli[i].className=i==n?"hover":"";
                  mli[i].style.display=i==n?"block":"none";
                 }
                }
                </script>
                
                    <div id="tabs0">
                        <ul class="menu0" id="menu0">
                            <li onclick="setTab(0,0)" class="hover">商品详情</li>
                            <li onclick="setTab(0,1)">发货方式</li>
                            <li onclick="setTab(0,2)">评论</li>
                            <li onclick="setTab(0,3)">购买记录</li>
                        </ul>
                        <div class="clear"></div>
                        <div class="main" id="main0">
                            <ul class="block">
                                <li>
                                    <div class="shuxing">
                                    	<span class="shoppp">品牌名称：[.$opcms.brand.title.] </span>
                                        <span class="clear shopcs">商品参数：</span>
                                        <div class="clear"></div>
                                        [.foreach from=$opcms.attribute item=aop.]
                                        <span>[.$aop.name.]：[.$aop.key.]</span>
                                        [./foreach.]	
                                    </div>
                                    <div class="clear"></div>
                                    [.$opcms.content.]
                                </li>
                            </ul>
                            <ul>
                                <li>
                                    [.$shopset.sendout.]
                                </li>
                            </ul>
                            <ul>
                                <li class="td">
                                    [.comment id=$opcms.id type=$ip.type row="10".]
                                </li>
                            </ul>
                            <ul>
                                <li>
                                
                                <style type="text/css">
                                    .gmjl { margin-top:30px; font-size:13px;}
                                    .gmjl tr,td{ padding:10px; border-bottom:1px #f4f4f4 solid;}
                                    .gmjl span { font-size:12px; color: #999;}
                                </style>
                                <table width="100%" border="0" class="gmjl">
                                  <tr>
                                    <td width="60%">购买的商品</td>
                                    <td width="20%"><div align="center">购买人账号</div></td>
                                    <td width="20%"><div align="center">购买时间</div></td>
                                  </tr>
                                  [.assign var="postid" value=$opcms.id.]
                                  [.sql mysql="select * from `emmm_orders` where `COL_Ordersid` = $postid and `COL_Orderspay` = 2 order by id desc limit 0,30" name="sql".]
                                  <tr>
                                    <td>[.$sql.COL_Ordersname.]&nbsp;&nbsp;<span>([.$sql.COL_Ordersproductatt.])</span></td>
                                    <td><div align="center">[.half_replace($sql.COL_Ordersemail).]</div></td>
                                    <td><div align="center">[.$sql.time.]</div></td>
                                  </tr>
                                  [./sql.]
                              </table>
                                    
                                </li>
                            </ul>
                        </div>
                    </div>
                [.*商城模式结束，如果你要修改模板，把以上代码全部复制走*.]
            </ul>
        </div>
    </div>
<div class="clear"></div>
[.include file="cn/cn_shopfoot.html".]
</body>
</html>
